home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr44
/
sndoff20.zip
/
DELAY.DOC
< prev
next >
Wrap
Text File
|
1993-04-07
|
664b
|
31 lines
You can use DELAY.EXE to insert timed pauses
into batch files.
A max delay time can be inserted after DELAY, in tenths of a second.
Such as DELAY 10 = 1 sec. pause
Pressing Esc will abort delay and return an errorcode of 99 for
batch file errorlevel checking.
Minumum value is DELAY 1
Maximum value is DELAY 32767 (about 9 hours)
DELAY with no time number will delay 1 second.
Example:
echo off
:Begin
echo This is a test
soundoff 400 200 10 10
delay 5
if errorlevel 99 goto Done
echo Still Testing......
dir/w
delay 10
if errorlevel 99 goto Done
GOTO Begin
:Done
You are welcome to use and distribute DELAY with your work.